package com.kgc.scd.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserPwdIsNull() {
            addCriterion("user_pwd is null");
            return (Criteria) this;
        }

        public Criteria andUserPwdIsNotNull() {
            addCriterion("user_pwd is not null");
            return (Criteria) this;
        }

        public Criteria andUserPwdEqualTo(String value) {
            addCriterion("user_pwd =", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdNotEqualTo(String value) {
            addCriterion("user_pwd <>", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdGreaterThan(String value) {
            addCriterion("user_pwd >", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdGreaterThanOrEqualTo(String value) {
            addCriterion("user_pwd >=", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdLessThan(String value) {
            addCriterion("user_pwd <", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdLessThanOrEqualTo(String value) {
            addCriterion("user_pwd <=", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdLike(String value) {
            addCriterion("user_pwd like", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdNotLike(String value) {
            addCriterion("user_pwd not like", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdIn(List<String> values) {
            addCriterion("user_pwd in", values, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdNotIn(List<String> values) {
            addCriterion("user_pwd not in", values, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdBetween(String value1, String value2) {
            addCriterion("user_pwd between", value1, value2, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdNotBetween(String value1, String value2) {
            addCriterion("user_pwd not between", value1, value2, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNull() {
            addCriterion("user_phone is null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNotNull() {
            addCriterion("user_phone is not null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneEqualTo(String value) {
            addCriterion("user_phone =", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotEqualTo(String value) {
            addCriterion("user_phone <>", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThan(String value) {
            addCriterion("user_phone >", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("user_phone >=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThan(String value) {
            addCriterion("user_phone <", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThanOrEqualTo(String value) {
            addCriterion("user_phone <=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLike(String value) {
            addCriterion("user_phone like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotLike(String value) {
            addCriterion("user_phone not like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIn(List<String> values) {
            addCriterion("user_phone in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotIn(List<String> values) {
            addCriterion("user_phone not in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneBetween(String value1, String value2) {
            addCriterion("user_phone between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotBetween(String value1, String value2) {
            addCriterion("user_phone not between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserEmailIsNull() {
            addCriterion("user_email is null");
            return (Criteria) this;
        }

        public Criteria andUserEmailIsNotNull() {
            addCriterion("user_email is not null");
            return (Criteria) this;
        }

        public Criteria andUserEmailEqualTo(String value) {
            addCriterion("user_email =", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotEqualTo(String value) {
            addCriterion("user_email <>", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailGreaterThan(String value) {
            addCriterion("user_email >", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailGreaterThanOrEqualTo(String value) {
            addCriterion("user_email >=", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailLessThan(String value) {
            addCriterion("user_email <", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailLessThanOrEqualTo(String value) {
            addCriterion("user_email <=", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailLike(String value) {
            addCriterion("user_email like", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotLike(String value) {
            addCriterion("user_email not like", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailIn(List<String> values) {
            addCriterion("user_email in", values, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotIn(List<String> values) {
            addCriterion("user_email not in", values, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailBetween(String value1, String value2) {
            addCriterion("user_email between", value1, value2, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotBetween(String value1, String value2) {
            addCriterion("user_email not between", value1, value2, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserSexIsNull() {
            addCriterion("user_sex is null");
            return (Criteria) this;
        }

        public Criteria andUserSexIsNotNull() {
            addCriterion("user_sex is not null");
            return (Criteria) this;
        }

        public Criteria andUserSexEqualTo(String value) {
            addCriterion("user_sex =", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexNotEqualTo(String value) {
            addCriterion("user_sex <>", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexGreaterThan(String value) {
            addCriterion("user_sex >", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexGreaterThanOrEqualTo(String value) {
            addCriterion("user_sex >=", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexLessThan(String value) {
            addCriterion("user_sex <", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexLessThanOrEqualTo(String value) {
            addCriterion("user_sex <=", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexLike(String value) {
            addCriterion("user_sex like", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexNotLike(String value) {
            addCriterion("user_sex not like", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexIn(List<String> values) {
            addCriterion("user_sex in", values, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexNotIn(List<String> values) {
            addCriterion("user_sex not in", values, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexBetween(String value1, String value2) {
            addCriterion("user_sex between", value1, value2, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexNotBetween(String value1, String value2) {
            addCriterion("user_sex not between", value1, value2, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserBirthIsNull() {
            addCriterion("user_birth is null");
            return (Criteria) this;
        }

        public Criteria andUserBirthIsNotNull() {
            addCriterion("user_birth is not null");
            return (Criteria) this;
        }

        public Criteria andUserBirthEqualTo(Date value) {
            addCriterion("user_birth =", value, "userBirth");
            return (Criteria) this;
        }

        public Criteria andUserBirthNotEqualTo(Date value) {
            addCriterion("user_birth <>", value, "userBirth");
            return (Criteria) this;
        }

        public Criteria andUserBirthGreaterThan(Date value) {
            addCriterion("user_birth >", value, "userBirth");
            return (Criteria) this;
        }

        public Criteria andUserBirthGreaterThanOrEqualTo(Date value) {
            addCriterion("user_birth >=", value, "userBirth");
            return (Criteria) this;
        }

        public Criteria andUserBirthLessThan(Date value) {
            addCriterion("user_birth <", value, "userBirth");
            return (Criteria) this;
        }

        public Criteria andUserBirthLessThanOrEqualTo(Date value) {
            addCriterion("user_birth <=", value, "userBirth");
            return (Criteria) this;
        }

        public Criteria andUserBirthIn(List<Date> values) {
            addCriterion("user_birth in", values, "userBirth");
            return (Criteria) this;
        }

        public Criteria andUserBirthNotIn(List<Date> values) {
            addCriterion("user_birth not in", values, "userBirth");
            return (Criteria) this;
        }

        public Criteria andUserBirthBetween(Date value1, Date value2) {
            addCriterion("user_birth between", value1, value2, "userBirth");
            return (Criteria) this;
        }

        public Criteria andUserBirthNotBetween(Date value1, Date value2) {
            addCriterion("user_birth not between", value1, value2, "userBirth");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdIsNull() {
            addCriterion("user_addr_id is null");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdIsNotNull() {
            addCriterion("user_addr_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdEqualTo(Integer value) {
            addCriterion("user_addr_id =", value, "userAddrId");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdNotEqualTo(Integer value) {
            addCriterion("user_addr_id <>", value, "userAddrId");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdGreaterThan(Integer value) {
            addCriterion("user_addr_id >", value, "userAddrId");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_addr_id >=", value, "userAddrId");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdLessThan(Integer value) {
            addCriterion("user_addr_id <", value, "userAddrId");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_addr_id <=", value, "userAddrId");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdIn(List<Integer> values) {
            addCriterion("user_addr_id in", values, "userAddrId");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdNotIn(List<Integer> values) {
            addCriterion("user_addr_id not in", values, "userAddrId");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdBetween(Integer value1, Integer value2) {
            addCriterion("user_addr_id between", value1, value2, "userAddrId");
            return (Criteria) this;
        }

        public Criteria andUserAddrIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_addr_id not between", value1, value2, "userAddrId");
            return (Criteria) this;
        }

        public Criteria andUserCreditIsNull() {
            addCriterion("user_credit is null");
            return (Criteria) this;
        }

        public Criteria andUserCreditIsNotNull() {
            addCriterion("user_credit is not null");
            return (Criteria) this;
        }

        public Criteria andUserCreditEqualTo(Integer value) {
            addCriterion("user_credit =", value, "userCredit");
            return (Criteria) this;
        }

        public Criteria andUserCreditNotEqualTo(Integer value) {
            addCriterion("user_credit <>", value, "userCredit");
            return (Criteria) this;
        }

        public Criteria andUserCreditGreaterThan(Integer value) {
            addCriterion("user_credit >", value, "userCredit");
            return (Criteria) this;
        }

        public Criteria andUserCreditGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_credit >=", value, "userCredit");
            return (Criteria) this;
        }

        public Criteria andUserCreditLessThan(Integer value) {
            addCriterion("user_credit <", value, "userCredit");
            return (Criteria) this;
        }

        public Criteria andUserCreditLessThanOrEqualTo(Integer value) {
            addCriterion("user_credit <=", value, "userCredit");
            return (Criteria) this;
        }

        public Criteria andUserCreditIn(List<Integer> values) {
            addCriterion("user_credit in", values, "userCredit");
            return (Criteria) this;
        }

        public Criteria andUserCreditNotIn(List<Integer> values) {
            addCriterion("user_credit not in", values, "userCredit");
            return (Criteria) this;
        }

        public Criteria andUserCreditBetween(Integer value1, Integer value2) {
            addCriterion("user_credit between", value1, value2, "userCredit");
            return (Criteria) this;
        }

        public Criteria andUserCreditNotBetween(Integer value1, Integer value2) {
            addCriterion("user_credit not between", value1, value2, "userCredit");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignIsNull() {
            addCriterion("user_total_sign is null");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignIsNotNull() {
            addCriterion("user_total_sign is not null");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignEqualTo(Integer value) {
            addCriterion("user_total_sign =", value, "userTotalSign");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignNotEqualTo(Integer value) {
            addCriterion("user_total_sign <>", value, "userTotalSign");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignGreaterThan(Integer value) {
            addCriterion("user_total_sign >", value, "userTotalSign");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_total_sign >=", value, "userTotalSign");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignLessThan(Integer value) {
            addCriterion("user_total_sign <", value, "userTotalSign");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignLessThanOrEqualTo(Integer value) {
            addCriterion("user_total_sign <=", value, "userTotalSign");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignIn(List<Integer> values) {
            addCriterion("user_total_sign in", values, "userTotalSign");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignNotIn(List<Integer> values) {
            addCriterion("user_total_sign not in", values, "userTotalSign");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignBetween(Integer value1, Integer value2) {
            addCriterion("user_total_sign between", value1, value2, "userTotalSign");
            return (Criteria) this;
        }

        public Criteria andUserTotalSignNotBetween(Integer value1, Integer value2) {
            addCriterion("user_total_sign not between", value1, value2, "userTotalSign");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignIsNull() {
            addCriterion("user_continue_sign is null");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignIsNotNull() {
            addCriterion("user_continue_sign is not null");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignEqualTo(Integer value) {
            addCriterion("user_continue_sign =", value, "userContinueSign");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignNotEqualTo(Integer value) {
            addCriterion("user_continue_sign <>", value, "userContinueSign");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignGreaterThan(Integer value) {
            addCriterion("user_continue_sign >", value, "userContinueSign");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_continue_sign >=", value, "userContinueSign");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignLessThan(Integer value) {
            addCriterion("user_continue_sign <", value, "userContinueSign");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignLessThanOrEqualTo(Integer value) {
            addCriterion("user_continue_sign <=", value, "userContinueSign");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignIn(List<Integer> values) {
            addCriterion("user_continue_sign in", values, "userContinueSign");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignNotIn(List<Integer> values) {
            addCriterion("user_continue_sign not in", values, "userContinueSign");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignBetween(Integer value1, Integer value2) {
            addCriterion("user_continue_sign between", value1, value2, "userContinueSign");
            return (Criteria) this;
        }

        public Criteria andUserContinueSignNotBetween(Integer value1, Integer value2) {
            addCriterion("user_continue_sign not between", value1, value2, "userContinueSign");
            return (Criteria) this;
        }

        public Criteria andUserVipidIsNull() {
            addCriterion("user_vipid is null");
            return (Criteria) this;
        }

        public Criteria andUserVipidIsNotNull() {
            addCriterion("user_vipid is not null");
            return (Criteria) this;
        }

        public Criteria andUserVipidEqualTo(Integer value) {
            addCriterion("user_vipid =", value, "userVipid");
            return (Criteria) this;
        }

        public Criteria andUserVipidNotEqualTo(Integer value) {
            addCriterion("user_vipid <>", value, "userVipid");
            return (Criteria) this;
        }

        public Criteria andUserVipidGreaterThan(Integer value) {
            addCriterion("user_vipid >", value, "userVipid");
            return (Criteria) this;
        }

        public Criteria andUserVipidGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_vipid >=", value, "userVipid");
            return (Criteria) this;
        }

        public Criteria andUserVipidLessThan(Integer value) {
            addCriterion("user_vipid <", value, "userVipid");
            return (Criteria) this;
        }

        public Criteria andUserVipidLessThanOrEqualTo(Integer value) {
            addCriterion("user_vipid <=", value, "userVipid");
            return (Criteria) this;
        }

        public Criteria andUserVipidIn(List<Integer> values) {
            addCriterion("user_vipid in", values, "userVipid");
            return (Criteria) this;
        }

        public Criteria andUserVipidNotIn(List<Integer> values) {
            addCriterion("user_vipid not in", values, "userVipid");
            return (Criteria) this;
        }

        public Criteria andUserVipidBetween(Integer value1, Integer value2) {
            addCriterion("user_vipid between", value1, value2, "userVipid");
            return (Criteria) this;
        }

        public Criteria andUserVipidNotBetween(Integer value1, Integer value2) {
            addCriterion("user_vipid not between", value1, value2, "userVipid");
            return (Criteria) this;
        }

        public Criteria andUserWxnameIsNull() {
            addCriterion("user_wxname is null");
            return (Criteria) this;
        }

        public Criteria andUserWxnameIsNotNull() {
            addCriterion("user_wxname is not null");
            return (Criteria) this;
        }

        public Criteria andUserWxnameEqualTo(String value) {
            addCriterion("user_wxname =", value, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameNotEqualTo(String value) {
            addCriterion("user_wxname <>", value, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameGreaterThan(String value) {
            addCriterion("user_wxname >", value, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameGreaterThanOrEqualTo(String value) {
            addCriterion("user_wxname >=", value, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameLessThan(String value) {
            addCriterion("user_wxname <", value, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameLessThanOrEqualTo(String value) {
            addCriterion("user_wxname <=", value, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameLike(String value) {
            addCriterion("user_wxname like", value, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameNotLike(String value) {
            addCriterion("user_wxname not like", value, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameIn(List<String> values) {
            addCriterion("user_wxname in", values, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameNotIn(List<String> values) {
            addCriterion("user_wxname not in", values, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameBetween(String value1, String value2) {
            addCriterion("user_wxname between", value1, value2, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserWxnameNotBetween(String value1, String value2) {
            addCriterion("user_wxname not between", value1, value2, "userWxname");
            return (Criteria) this;
        }

        public Criteria andUserSigndateIsNull() {
            addCriterion("user_signdate is null");
            return (Criteria) this;
        }

        public Criteria andUserSigndateIsNotNull() {
            addCriterion("user_signdate is not null");
            return (Criteria) this;
        }

        public Criteria andUserSigndateEqualTo(Date value) {
            addCriterion("user_signdate =", value, "userSigndate");
            return (Criteria) this;
        }

        public Criteria andUserSigndateNotEqualTo(Date value) {
            addCriterion("user_signdate <>", value, "userSigndate");
            return (Criteria) this;
        }

        public Criteria andUserSigndateGreaterThan(Date value) {
            addCriterion("user_signdate >", value, "userSigndate");
            return (Criteria) this;
        }

        public Criteria andUserSigndateGreaterThanOrEqualTo(Date value) {
            addCriterion("user_signdate >=", value, "userSigndate");
            return (Criteria) this;
        }

        public Criteria andUserSigndateLessThan(Date value) {
            addCriterion("user_signdate <", value, "userSigndate");
            return (Criteria) this;
        }

        public Criteria andUserSigndateLessThanOrEqualTo(Date value) {
            addCriterion("user_signdate <=", value, "userSigndate");
            return (Criteria) this;
        }

        public Criteria andUserSigndateIn(List<Date> values) {
            addCriterion("user_signdate in", values, "userSigndate");
            return (Criteria) this;
        }

        public Criteria andUserSigndateNotIn(List<Date> values) {
            addCriterion("user_signdate not in", values, "userSigndate");
            return (Criteria) this;
        }

        public Criteria andUserSigndateBetween(Date value1, Date value2) {
            addCriterion("user_signdate between", value1, value2, "userSigndate");
            return (Criteria) this;
        }

        public Criteria andUserSigndateNotBetween(Date value1, Date value2) {
            addCriterion("user_signdate not between", value1, value2, "userSigndate");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}